<template>
  <div id="app">
    <!-- keep-alive 将该组件的ajax请求数据添加到缓存 -->
    <!-- exclude中填写排除缓存的组件名称 -->
    <keep-alive exclude="CityDetail">
      <router-view/>
    </keep-alive>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style lang="stylus" scoped>

</style>
